package com.ruoyi.shop.member.domain;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员轨迹对象 shop_member_trace
 * 
 * @author xuxiang
 * @date 2023-06-13
 */
public class ShopMemberTrace extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 轨迹ID */
    private Long traceId;

    /** 会员ID */
    private Long memberId;
    
    /** 商品ID */
    private Long goodsId;
    
	/** 商品名称 */
	private String goodsName;
	
	/** 商品标题 */
	private String title;
	
	/** 商品价格 */
	private BigDecimal price;
	
	/** 市场价格 */
	private BigDecimal marketPrice;
	
	/** 主题图 */
	private String image;
	
	/** 销量 */
	private String sales;

    /** skuID */
    @Excel(name = "skuID")
    private Long skuId;

    /** 门店ID */
    @Excel(name = "门店ID")
    private Long storeId;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setTraceId(Long traceId) 
    {
        this.traceId = traceId;
    }

    public Long getTraceId() 
    {
        return traceId;
    }
    public void setMemberId(Long memberId) 
    {
        this.memberId = memberId;
    }

    public Long getMemberId() 
    {
        return memberId;
    }
    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setSkuId(Long skuId) 
    {
        this.skuId = skuId;
    }

    public Long getSkuId() 
    {
        return skuId;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public BigDecimal getMarketPrice() {
		return marketPrice;
	}

	public void setMarketPrice(BigDecimal marketPrice) {
		this.marketPrice = marketPrice;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public String getSales() {
		return sales;
	}

	public void setSales(String sales) {
		this.sales = sales;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("traceId", getTraceId())
            .append("memberId", getMemberId())
            .append("goodsId", getGoodsId())
            .append("skuId", getSkuId())
            .append("storeId", getStoreId())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
